package com.ruihu.admin.module.business.tasknode.domain.dto;

import com.ruihu.admin.module.support.file.domain.dto.FileUpdateDTO;
import lombok.Data;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

/**
 * 新建 [  ]
 *
 * @author Tony
 * @version 1.0
 * @company 瑞虎（南京）信息技术有限公司
 * @copyright (c) 2018 瑞虎（南京）信息技术有限公司Inc. All rights reserved.
 * @date  2023-01-03 14:55:43
 * @since JDK1.8
 */
@Data
public class NodeInstProcessRelationAddDTO {
    @ApiModelProperty("流程配置表ID")
    private Long processConfigId;

    @ApiModelProperty("任务环节实例ID")
    private Long taskNodeInstId;

    @ApiModelProperty("缺陷类型列表")
    private List<DefectTypeDTO> defectTypeList;

    @ApiModelProperty("固定值")
    private String configValue;

    @ApiModelProperty("选择值")
    private String selectValue;

    @ApiModelProperty("描述")
    private String descr;

    @ApiModelProperty("其他值")
    private String otherValue;

    @ApiModelProperty("附件ID列表")
    private List<FileUpdateDTO> fileList;

    @ApiModelProperty("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}
